<script>
function updateftpbox () {
        document.createftp.homedir.value = "/" + document.createftp.login.value;
}
</script>


<div id="navigation">
	<a href="{U_HOME}">{DOMAIN} cPanel Index</a> ::
	FTP Accounts
</div><br />

With the FTP account utility you can control FTP accounts for your users or if your account has sub-domain support you can add FTP accounts for your sub-domain(s).<br /><br />

When you log into FTP, ensure that your username is exactly as it appears on this page, including the @ symbol. You should log in to the URL given on the home page of cPanel.<br /><br />

<div class=row1 align=center width=100%>
<b>FTP Accounts</b>
</div>

<table align=center width=75%>
<tr>
	<th>Name</th>
	<th>Path</th>
	<th>Action</th>
</tr>
<!-- BEGIN ftprow -->
<tr class="{ftprow.ROWCLASS}">
	<td align=center>{ftprow.ACCOUNT}</td>
	<td align=center>
	<!-- BEGIN switch_main_account -->
	Main Account
	<!-- END switch_main_account -->
	{ftprow.PATH}
	</td>
	<td align=center>

	<!-- BEGIN switch_main_account -->
	N/A
	<!-- END switch_main_account -->
	
	<!-- BEGIN switch_custom_account -->
	<a href="{ftprow.U_CHANGE_PASS}">Change Password</a> :: 
	<a href="{ftprow.U_DELETE}">Delete</a>
	<!-- END switch_custom_account -->
	
	</td>
</tr>
<!-- END ftprow -->
</table><br /><br />

<div class=row1 align=center width=100%>
<b>Create FTP Account</b>
</div><br />
<form action="{S_ACTION}" method="{S_METHOD}" name="createftp">
<table align=center>
<tr>
	<td align=right>Login:</td>
	<td><input type="text" name="login" onBlur="updateftpbox();" onChange="updateftpbox();"></td>
</tr>
<tr>
	<td align=right>Password:</td>
	<td><input type="password" name="password"></td>
</tr>
<tr>
	<td align=right>Directory:</td>
	<td>public_html<input type="text" name="homedir" value="/"></td>
</tr>
<tr>
	<td align=center colspan=2><input type="submit" value="Create FTP Account"></td>
</tr>
</table>
</form><br />

<div class=row2 align=center width=100%>
<b>Create FTP Account Hints</b>
</div>

If you enter a single / in the directory box, the new FTP user will ave access to the entire public_html directory, and all directories within it. If you just want the new user to be able to access a sub-domain, just set the directory box to the same value as the sub-domain's root name, which is listed on the subdomain section of this control panel.<br /><br />

Please be aware that the new user will have read/write access to the directory you select, as well as all directories within it.